package com.xyzyzglxt.system.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyzyzglxt.common.annotation.Excel;
import com.xyzyzglxt.common.core.domain.BaseEntity;
import com.xyzyzglxt.common.core.domain.entity.SysEventType;

/**
 * 活动信息对象 sys_event
 *
 * @author xyzyzglxt
 * @date 2022-01-17
 */
public class SysEvent implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long eventId;

    /** 创建者id */
    @Excel(name = "创建者id")
    private Long eventUserId;

    /** 活动类型id */
    @Excel(name = "活动类型id")
    private Long eventTypeId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String eventName;

    /** 活动地点 */
    @Excel(name = "活动地点")
    private String eventLocation;

    /** 活动人数 */
    @Excel(name = "活动人数")
    private Long eventPeoples;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date eventStart;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date eventEnd;

    /** 状态（0未开始 1进行 2结束 3过期） */
    @Excel(name = "状态", readConverterExp = "0=未开始,1=进行,2=结束,3=过期")
    private String eventStatus;

    /** 活动要求 */
    @Excel(name = "活动要求")
    private String eventRequirement;

    /** 是否审核通过（0未审核 1审核通过 2审核不通过） */
    @Excel(name = "是否审核成功")
    private String eventCheck;

    /** 已报名人数 */
    @Excel(name = "已报名人数")
    private Long eventRdpeoples;

    /** 活动照片 */
    @Excel(name = "活动照片")
    private String eventImg;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private SysEventType sysEventType;

    public Long getEventTypeId() {
        return eventTypeId;
    }

    public void setEventTypeId(Long eventTypeId) {
        this.eventTypeId = eventTypeId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public SysEventType getSysEventType() {
        return sysEventType;
    }

    public void setSysEventType(SysEventType sysEventType) {
        this.sysEventType = sysEventType;
    }

    public Long getEventRdpeoples() {
        return eventRdpeoples;
    }

    public void setEventRdpeoples(Long eventRdpeoples) {
        this.eventRdpeoples = eventRdpeoples;
    }

    public String getEventImg() {
        return eventImg;
    }

    public void setEventImg(String eventImg) {
        this.eventImg = eventImg;
    }

    public String getEventCheck() {
        return eventCheck;
    }

    public void setEventCheck(String eventCheck) {
        this.eventCheck = eventCheck;
    }

    public void setEventId(Long eventId)
    {
        this.eventId = eventId;
    }

    public Long getEventId()
    {
        return eventId;
    }
    public void setEventUserId(Long eventUserId)
    {
        this.eventUserId = eventUserId;
    }

    public Long getEventUserId()
    {
        return eventUserId;
    }
    public void setEventName(String eventName)
    {
        this.eventName = eventName;
    }

    public String getEventName()
    {
        return eventName;
    }
    public void setEventLocation(String eventLocation)
    {
        this.eventLocation = eventLocation;
    }

    public String getEventLocation()
    {
        return eventLocation;
    }
    public void setEventPeoples(Long eventPeoples)
    {
        this.eventPeoples = eventPeoples;
    }

    public Long getEventPeoples()
    {
        return eventPeoples;
    }
    public void setEventStart(Date eventStart)
    {
        this.eventStart = eventStart;
    }

    public Date getEventStart()
    {
        return eventStart;
    }
    public void setEventEnd(Date eventEnd)
    {
        this.eventEnd = eventEnd;
    }

    public Date getEventEnd()
    {
        return eventEnd;
    }
    public void setEventStatus(String eventStatus)
    {
        this.eventStatus = eventStatus;
    }

    public String getEventStatus()
    {
        return eventStatus;
    }
    public void setEventRequirement(String eventRequirement)
    {
        this.eventRequirement = eventRequirement;
    }

    public String getEventRequirement()
    {
        return eventRequirement;
    }

    @Override
    public String toString() {
        return "SysEvent{" +
                "eventId=" + eventId +
                ", eventUserId=" + eventUserId +
                ", eventName='" + eventName + '\'' +
                ", eventLocation='" + eventLocation + '\'' +
                ", eventPeoples=" + eventPeoples +
                ", eventStart=" + eventStart +
                ", eventEnd=" + eventEnd +
                ", eventStatus='" + eventStatus + '\'' +
                ", eventRequirement='" + eventRequirement + '\'' +
                ", eventCheck='" + eventCheck + '\'' +
                '}';
    }
}
